package com.example.attendance_back.mapper;

import cn.hutool.crypto.asymmetric.Sign;
import com.example.attendance_back.model.SignIn;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface SignMapper {

     @Select("select * from sign_in")
     @Results(id = "signInMap",value = {
             @Result(column = "sign_id",property = "signId"),
             @Result(column = "title",property = "name")
     })
     List<SignIn> selectAll();
}
